﻿using System;

namespace Zove.Runtime
{
    public class DuplicatedRuleDefinedException : Exception
    {
        public DuplicatedRuleDefinedException(RuntimeRule rr)
            : base(
            string.Format("{0}:{1}", 
            rr.Equation.Equation, rr.Factor.Name))
        {

        }
    }
}
